const express = require('express')
const app = express()

const customBodyParser = require('./custom-body-parser')
app.use(customBodyParser)
app.post('/user', (req, res) => {
    res.send(req.body)
})
app.listen(8111, () => {
    console.log('express server running at localhost:8111');
})